Adjust field definitions for Part model a little
Add test case to check Part.get_on_stock() method