Set up dependencies and test