Fixing a test in cruve widget