refactor and improve admin_handles_courses feature tests