Add test for extractfeature.py