added tests
changed 0,1 -> FALSE, TRUE
king