add test and update build