fixed error for unit tests for pomelo