Make tests work in PhantomJS again by specifying a radix for 'parseInt'