added functional test for course registration