a few changes to Cost unit tests