added more tests, fixed pathing bug