adding test conditions