Fix unit tests - update for NativeScript 0.4.2