renamed tests to test
added API doc