Writing Test scripts through Ruby DSL