Add a test to ensure filtering of extraneous data