added support for multiple testsuites and files
minor change in the api
a testsuite for the jsonreporter addition