remove trailing space
clean up tests, added dynamic support to rb 1.8.7 to 2.x when running tests