Run Test:Unit tests with my functions

Also, take ownership of these functions rather than using verbatim what
I lifted from Gary Bernhardt's dotfiles.