fix for attachment test now that we're using selenium