Added some test cases
And a test for the compatibility module