Added unit tests for wire module