working now test fails because invokes external dependency