enhance test, remove compilation error