remove depency on chai from tests. still fails inconsistently.