finished lesson_edit tests, fixed update_profile and accompanying tests to render page after info has been fetched
added tests for courses edit, fixed random bugs