adding tests and wercker config

we now have some basic unit tests
and wercker steps to go with it