more spec examples tests. fixes #419, #420, #421, #422