Test query so photo works