improved tests for extract_feature.m