Fixed issues with purge tests.
Added documentation on running tests through command line.