ok, this is working much better, but baffled as to why single test is failing