added tests based on approval test framework - remarks add approval, hamcrest etc to your build path