added tests to verify users and instructors were writing to DB