updated tests to not rely on external files