Refactor testing.
Remove old testing files.