EventNote unit tests and null checks