Fix premature end of test file