fixed run function with evalue option
added a test to check run function