Created unit tests for BooleanElement.