Mofify test script for testing with generic costs