Add test cases for training controller