Added tests for compatibility layer methods