improved spec. Tests for #190