Fixing problem with test