#4 added test for simple select query