minor changes to etally_core and some unit testing
minor changes to etally_core
minor changes