upgrade tests
close #26

close #90