Tests for new dynamic_t's constructors and assignment operators.