change test to capture expected raise