fixing test by debugging (but still fails)