Added tests for unsaved files navigation. Fixes #16.