added missing assert in test