Unit tests

Added unit tests to get 100% coverage of this plugin.
@jeffstieler :thumbsup: updated and travis says we're passing.