added test.py, tests for quartile() and quartile_index()