Making the monolith testable