add tests and improve banner_course