adds tests for no json