Add dependencies and test