Added "exclude" parameter testing to unittests.