Tests now check for valid variable types and valid json files