fix build setting
add build test