added tests for fix profit calculations