Better define tests in specs.js