Fix resorce files. Add test