upgrade .ruby-version
simplify base test class using Struct
add test coverage setup
update README, add badges