created a better fp test util