Added test for electrode reading. some bug fixes