Fix to check for status as int
Small fix in verify param
A mashup of testings attempts

All failing atm. I cannot get the mock class being patched in to
return values that I need. Instead, a new mock instance keeps being
made... No clue why.