added new tests for OQL and added generic function capability for select