Add new test: updating nonexistent post raises error.
Add new test: deleting nonexistent post raises error.
Extract creating "post not found" exceptions into a method.
Prefix no_rows_affected with an underscore to follow private/protected method naming convention
Extract creating "user not found" exceptions into a method.
Extract creating "user already exists" exceptions into a method.