[tests] Update composer scalebar tests, fix exception causing test to fail