added cucumber specs for new functionality