prev pr & more

see prev pr. plus:

* generic error if create/rename dont change anything
* specific error for duplicate entries
* tests pass for create & rename
* renamed test db, file
* add commodity routine flexviews.test()