Fix rule violation message and imporive wrapper integration test