Move test directory to top level

The test directory should be in the top level, separate from the rest of the
application. A future commit will create a separate pip.req file for test
dependencies only.