add test cases for teacher photo attachment