adding spec to cover previous bug
passing tests