Unittest update

Restructured the test class.
Added tests for the FMatrix class and methods that are currently
implemented.