Updated some tests with correct file locations and get rid of expect_warning check