Rename test() to apply(), add docs