change build script
add constructor unit tests