made test for photoGet, changed serialization, and fixed bugs