fixing tests to work with TS0.9