[TEST] Fix content comparison to not take platform dependent control chars into account.