Initial commit of unit tests baseline. Changes to building and Travis to work.