revert tracuer and add test

fix for #172