fix to ignore test sources

A little correction to make sure test sources are ignored.