added spec to test new behavior