fixed test of Device