fixed bug in all test sequence