removed test cases and tools into its own .py files