Add tests into travis and build tree