working tests for adding device + started edit device .. work in progress..