add test cases for photo module as teacher/parent