All photo API methods are implemented.
Added more tests.