added tests for compat