Adding tests and matching spec for String#repeat