Move device attribute declaration so it covers all tests