Fixed errors in oec_query.py, created unit tests for module using remote
methods