added asserts to cost values in test method