Added more tests for the fly function.