added tests for race