fixes errors in tests