add bvt and functional test