fix poor promise tests. references #37