Add booleans and first unit test

Signed-off-by: Daniel Francis <francis@sugarlabs.org>