run logic tests