removing duplicated tests from include_json spec
clean long lines and refactor for readability