Added Unit Test for $Z.redo()

Fixes #10
Removed unnecessary exports