add trim test case