Added * exclude wildcard. Added tests.