rewrote builder test for chai