added a unit test for excludes

fixes unit test for php 5.3