TestCamera environment added

*Still some issues, probably some thread writes to /reads from
already-freed memory at exit.