added syntax error tests, life cycle tests and a new test class for the ObservableQuery class