Exact matching

Created and tested all beahviour for exact matching