message: Create dedicated test scope singlepass_tests
  to deduplicate feature test
diff: @@ -7,15 +7,6 @@ use cosmwasm::types::{coin, log, CosmosMsg, HumanAddr, QueryResult};
  use cosmwasm_vm::testing::{handle, init, mock_instance, query, test_io};
  -#[cfg(feature = "singlepass")]
  -use cosmwasm::serde::to_vec;
  -
  -#[cfg(feature = "singlepass")]
  -use cosmwasm_vm::testing::mock_instance_with_gas_limit;
  -
  -#[cfg(feature = "singlepass")]
  -use cosmwasm_vm::call_handle;
  -
  use hackatom::contract::{HandleMsg, InitMsg, QueryMsg, State, CONFIG_KEY};
  /**
  @@ -197,7 +188,20 @@ fn failed_handle() {
  }
  #[test]
  +fn passes_io_tests() {
  + let mut deps = mock_instance(WASM);
  + test_io(&mut deps);
  +}
  +
  #[cfg(feature = "singlepass")]
  +mod singlepass_tests {
  + use super::*;
  +
  + use cosmwasm::serde::to_vec;
  + use cosmwasm_vm::call_handle;
  + use cosmwasm_vm::testing::mock_instance_with_gas_limit;
  +
  + #[test]
  fn handle_panic_and_loops() {
  // Gas must be set so we die early on infinite loop
  let mut deps = mock_instance_with_gas_limit(WASM, 1_000_000);
  @@ -241,9 +245,4 @@ fn handle_panic_and_loops() {
  assert!(handle_res.is_err());
  assert_eq!(deps.get_gas(), 0);
  }
  -
  -#[test]
  -fn passes_io_tests() {
  - let mut deps = mock_instance(WASM);
  - test_io(&mut deps);
  }
  