test constructing