Add tests for fprint class