moved Bark to be accessbile by tests.