Fixes many formatting issues with test_smooth including indentation problems.