message: Fix some minor test issues in vm
diff: @@ -234,12 +234,17 @@ mod test {
  static KIB: usize = 1024;
  static MIB: usize = 1024 * 1024;
  static CONTRACT: &[u8] = include_bytes!("../testdata/contract.wasm");
  + static REFLECT_CONTRACT: &[u8] = include_bytes!("../../../contracts/reflect/contract.wasm");
  static DEFAULT_GAS_LIMIT: u64 = 500_000;
  #[test]
  fn required_features_works() {
  let deps = mock_dependencies(20, &[]);
  let instance = Instance::from_code(CONTRACT, deps, DEFAULT_GAS_LIMIT).unwrap();
  + assert_eq!(instance.required_features.len(), 0);
  +
  + let deps = mock_dependencies(20, &[]);
  + let instance = Instance::from_code(REFLECT_CONTRACT, deps, DEFAULT_GAS_LIMIT).unwrap();
  assert_eq!(instance.required_features.len(), 1);
  assert!(instance.required_features.contains("staking"));
  }
  @@ -442,7 +447,7 @@ mod singlepass_test {
  let init_used = orig_gas - instance.get_gas();
  println!("init used: {}", init_used);
  - assert_eq!(init_used, 65606);
  + assert_eq!(init_used, 65604);
  }
  #[test]
  @@ -466,7 +471,7 @@ mod singlepass_test {
  let handle_used = gas_before_handle - instance.get_gas();
  println!("handle used: {}", handle_used);
  - assert_eq!(handle_used, 94480);
  + assert_eq!(handle_used, 94653);
  }
  #[test]
  