Fix browser tests not working when not cloned in TypeScript directory

Fixes #168