Tests for paintmanager