hack solution to run typescript tests compiled as AMD modules