ERI implemented and tested using Be as a test case.