Wrote unit tests for fx trading