Corrected indentation, fixed tests.