correct assert order for test