Adds test for run once command