First draft of proper deps and tests

Wait for the build. It both caused CCHQ build to fail and also does not pass locally. But somehow it was passing at some point...