task exception tests