Fix chai assertions

@park9140