implement insert a course in the database, with an integration test