Removed clean from test script to make it faster
Added util tests to check that JSON payloads are parsed OK