#4 corrected where statement test, added full select/where test