moved all the test related code out of the src dir