Refactoring code.
Adding test to deal with EDNote