updated tests to include testing for path variable