add X-linked test filter
refactored return