add test package. do not compile test codes with etcd
fix travis