added travis build support
fixed typo in test