Add test to prevent a js error