Dictionary texture management
Added test code