add extract tests