fix a small bug in the test custom attribute finder