fixed a test that was throwing an unhanded error