Added few unit tests and travis integration