Added unit tests and various fixes and improvements.
Deleting "trunkassbitch".

Hopefully my online reputation isn't already forever unclean.