add logic tests
fix tests tag bugs