started updating the tests of the refactored objective class