Added run loop and test logic.