viewporter-tests.ts fixed