fix failing tests and add webtest too assert card at host side