fix indentation for #975
update test case for #975