Added some tests with monkey patching