Behave tests

Added behave tests and integrated with Travis.