added a unit test for excludes