basic tests of training functionality