Unit testing

Starting developing unit testing strategy