Updated sample and added convenience method to FpTest