Added PathNotFoundException
Added test to change environment in metod "boot".