Unit test

A series of basic unit tests that check for basics plugin behavior.