added methods for ok_photos, fixed tests