fix feature detection test