New API tests
new test
regression tests
better handling of input json files
correct a test
fixed first test