fix unit test for adapter