added logic tests
ok git calm down