Add simple tests case to fix bug on TravisCI