Unit test fix and warn message change

+ Fixed unit test failing due to environment specific path

+ Changed one of the warn messages