test: fixed buggy test