Error on JSON without results
Update README
Add tests
Move stuff to common tests
Move more stuff to common tests