added tests
added xboolean
solved a bug lost focus input so the value is set after enter