better exception tests