added generic testing code
refactored WicketB y
refactored WicketB y