[#31] Adjusted JW.Set tests to new API, fixed bugs.