rework testing to use a stub better
rework testing to use a stub better
fixes issue #1 (I hope)