updating specs for improved test coverage