adding api docs

For those who might want to make their own test runner.