Adds test script and basic tests of deconstruct() methods.