add dependencies and some test