Add unit tests for deps