added SELECT..AS and a testing script