Fixing mockconnectors tests