add constructor tests