added board2pin and gpio2pin convinent methods
added test case