Adding tests for boolean functions.