add tests and example fugu