removing dead code in linery unit test