remove otiose tests.js

also: declaration of non-existent function