Added Tests and Travis integration.