wrapped training controller html using base template
fixed tests