Added initial unit tests for adding and removing observers