added specs for #34 and #33