Implement tests for ext2 implementation. Tests can run on native_posix platforms and on hifive_unmatched. Signed-off-by: Franciszek Zdobylak <fzdobylak@antmicro.com>