TST: move tests/ to top-level and use py.test