writing some tests. should containEql and throw fail without any good reason, can't figure why