refactoring, made decodeTest run again