added test cases, they dont work yet since they are async