Update tests.js

It's more better now!