#279 added test, preserve order after spec filter