Fixes tests under windows.
Ensures the pem file is properly split regardless of how it was generated