Fixed incorrect order of storing manifest entries
Some unit tests for "manifest" command added