Fix error handling and navigation generation.
Remove unneeded test.
Disable broken tests.
Remove broken test.
Fix test.