Fixed: test couldn't work without the home application
Improved: error message for router component