photo controller indentation cleanup
added tests for voting