Fix boolean field types X-Editable units tests

I've fixed units tests and added a condition for X-Editable boolean types only for adding data-source attribute.