Added basic test case and travis setting.