unit test for OAT adapter