Added tests for doc