Remove dependency on chai