PhotoDao tests