add test case for responding with array JSON
reorganize return-value specs
remove unnecessary beforeEach done() callback
DRY out some request logic in specs
rename test fixture handler to be more generic