adding tests for docs