test travers and getAlldata