tests finally working
test fixed for command line