Replaced try catch-alls with pytest raises tool. I also replaced the presentation_exists function with _presentation_exists to make it seem more private. The function is only used in unit tests for assertation purposes.
Forgot to flake8 fix flake8 output from last commit.