Add unit tests for Electrons