added test case
reverted source files to original FoX code