Moved test stuff to new test.js, made ANSI into a module.
Initial.