Scaling the Testing Pyramid in JavaScript