Adding some exception tests