Adding some tests.
We should use an in-memory database for testing.
Adding a test to make sure deploys update correctly.
Testing for deployment deletion.