Add relevant deps.

Signed-off-by: crynobone <crynobone@gmail.com>
Add multiple tests.

Signed-off-by: crynobone <crynobone@gmail.com>