Refactored Runnable specs into shared behavior.