graphics and tests