Minimal javascript test lib