Add tests to validate the functionality of Mongoid observers