new rspec with file json input works