adding assert calls into test, renaming variable with more descriptive names, removing unnecessary prints
adding missing example json file