throw IllegalArgumentException if given an unknown contact
refactor tests to add Contact in before hook