testcase fixes #478
Merge branch 'model-cleanup' of github.com:frappe/erpnext into model-cleanup
material request testcase #478