Basic dynamic wrapping done, tests written.