tidied up unit tests
updated ECLogging