Make test.py runnable
Added delimiter detection and thus support for semicolon