Removed usages of non existent mock method assert_called and replaced wi...

...th tests on called attribute