Adding test which breaks because bit and/or enum datatypes are used

fixes https://github.com/owncloud/core/issues/6915
fixes https://github.com/owncloud/core/issues/9806
fixes https://github.com/owncloud/core/issues/8215