Unit tests for runner