Fix doc-tests and stop using deprecated functions
Added to .gitignore