tests follow now one function one file rule, renamed struct members to one word, extended test to cover all implemented functions