Fix component viewer test