Json based tests.