added first logic tests