Fix file ending error in tests