Added meaningful unit testing logic

Forgot to replace meaningless tests before last commit. these should be
more interesting.