bug in tests