Adding the test coverage for the newly added withFrame methods