Add tests corresponding to commit d1ef413 + sort files by name in views