I was actually using tabs - in the test file as well. Now changed to spaces.