test course repository