added wiring tests