Fixed old unit tests
Completed Factory tests
Added TravisCI configuration
Merge pull request #3 from QoboLtd/unit-tests

Unit tests