Add some logic tests.