Rewritten parts_test
* Updated tests
* Added exemplary script