added tests to the observable class