fix to ignore test sources

A little correction (to the previous pull request) to make sure test sources are ignored.