added test for cost adjustment - closes #19