passed tests for training-day