fixed tests
Added debug option
#235 Added e2e test
#235 Added success message