Added a trim test.