fixed end of test