Running tests under production mode