added some tests for key-value observing