fixed python3 deprecation warning 'use assertEqual instead of assertEquals'
added travis config