Fix tests that failed due to the move of doctests and resources to docs folder.