Condition done with test,bugtest bash fix, and handles validation/sad path of other cuke

condition added, cuke and rspec added, bugtest fix, and handle validations and sad path of other cuke