remove cruft and restore proper call to obs.set
fix obs.set
fix tests to work with ndarray