Added complex SELECT test and it works!