moving tracks_json to test helper method