Fixed tests for plugman