Add devicetype_test.go