Adding integration tests for JSON file

Signed-off-by: Dan Rumney <dancrumb@gmail.com>