refactor tests

All JSON moved to separate files.