test updated to run on python 3.3 (unittest subTest removed)