Added new tests for new create() and delete() functions
Added delete(), which works. Added create(), which is currently
returning 404s.
Moved error checking into its own function. Allowed for passing 'mode'
so it can easily be re-used between create() and update().
Updated get_dashboard() to explicitly check for a 404 error, to change error message to user so they know dash id is likely wrong