Change unit tests to check for expected exception