(edit) removes unneeded dependencies
(add) adds testing for states