added test suite bootstrap
fixed some bugs and added test suite
added travis