test that logicals patch correctly