Added testfile
Added json output