add features patches for test