Update specs, fix bug where expected string was not returned properly.