one or maybe more fixes for grappa tests

- [x] move generated logical.dot and physical.dot files to the `c_test_environment` directory.
- [ ] fix the errors on `D2` and `D3` seen on my machine and @stechu's but not Travis-CI.

FYI @bmyerz , though I do not need your cycles.