var ValueOwners = artifacts.require("./ValueOwners.sol");

contract('ValueOwners', function(accounts) {
  it("should set 10000000000000000 Wei in cost", function() {
    return ValueOwners.deployed().then(function(instance) {
      return instance.cost();
    }).then(function(cost) {
      assert.equal(cost.valueOf(),10000000000000000,'Constract cost isn\'t 10000000000000000 Wei');
    });
  });

  it("should return zero balance for the owner address", function() {
    var owner_address = accounts[0];
    return ValueOwners.deployed().then(function(instance) {
      return instance.getBalance.call(owner_address);
    }).then(function(balance) {
      assert.equal(balance.valueOf(), 0, 'Owner balance isn\'t 0');
    });
  });

  it("should return zero balance for the other address", function() {
    var other_address = accounts[1];
    return ValueOwners.deployed().then(function(instance) {
      return instance.getBalance.call(other_address);
    }).then(function(balance) {
      assert.equal(balance.valueOf(), 0, 'Other balance isn\'t 0');
    });
  });

  it("should return new cost after cost was changed by owner", function() {
    return ValueOwners.deployed().then(function(instance) {
      return instance.setCost.call(15000000000000000);
    }).then(function(newCost) {
      assert.equal(newCost, 15000000000000000, 'New cost doesn\' equals new value 15000000000000000');
    });
  });

  it("should return zero from payedAmount", function() {
    return ValueOwners.deployed().then(function(instance) {
      return instance.payedAmount.call();
    }).then(function(amount) {
      assert.equal(amount, 0,'Amount isn\'t 0')
    });
  });
});

@@ -1658,12 +1658,1697 @@
 ;%0A  %7D);%0A
+%0A  it(%22should return true if payed 10000000000000000 Wei%22, function() %7B%0A    var vo_contract;%0A    var account_one = accounts%5B0%5D;%0A%0A    return ValueOwners.deployed().then(function(instance) %7B%0A      vo_contract = instance;%0A      return instance.buyValue.call(%7Bfrom: account_one, value:10000000000000000%7D);%0A    %7D).then(function(success) %7B%0A      assert.equal(success, true,'buyValue doesn%5C't returns true');%0A    %7D);%0A  %7D);%0A%0A  /*it(%22should return false when not correct amount of Ether sended%22, function() %7B%0A    var account_one = accounts%5B0%5D;%0A%0A    return ValueOwners.deployed().then(function(instance) %7B%0A      return instance.buyValue.call(%7Bfrom: account_one, value:10000000000000001%7D);%0A    %7D).then(function(success) %7B%0A      assert.equal(success,false,'buyValue doesn%5C't return false');%0A    %7D);%0A  %7D);*/%0A%0A  // TODO: Find out how to wait while first transaction will be applied to new block and only after that try to call method second time%0A  /*it(%22should return false if payed 10000000000000000 Wei double times from one account%22, function() %7B%0A    var vo_contract;%0A    var account_one = accounts%5B0%5D;%0A    //console.log(web3.fromWei(account_one, %22ether%22));%0A%0A    return ValueOwners.deployed().then(function(instance) %7B%0A      vo_contract = instance;%0A      return vo_contract.buyValue.call(%7Bfrom: account_one, value:10000000000000000%7D);%0A    %7D).then(function(success) %7B%0A      assert.equal(success, true, 'buyValue doesn%5C't returns true first time');%0A    %7D).then(function() %7B%0A      return vo_contract.buyValue.call(%7Bfrom: account_one,%0A      value:10000000000000000%7D);%0A    %7D).then(function(success) %7B%0A      assert.equal(success, false, 'buyValue doesn%5C't returns false second time');%0A    %7D);%0A  %7D);*/%0A%0A
 %7D);%0A

Add few tests