Adds tests, dest and log options