Update unit tests to get them passing and set them up for travis
adds travis badge for status
merge in unit testing fixes