added unit test code
working on confirmation test