Added simple unittest and travis integration. #9