Added test for excluding data