Fixed end statements on spec test. Also fix indentation.