tests: routes: state index authentication

Signed-off-by: Sergei Ianovich <s@asutp.io>
tests: routes: create state with HTTP PUT

Signed-off-by: Sergei Ianovich <s@asutp.io>
tests: routes: create state custom content type

Signed-off-by: Sergei Ianovich <s@asutp.io>
tests: routes: create state listeners

Signed-off-by: Sergei Ianovich <s@asutp.io>
tests: routes: create state onData ignores newline

Signed-off-by: Sergei Ianovich <s@asutp.io>
routes: create state aborts on bad JSON

Signed-off-by: Sergei Ianovich <s@asutp.io>
tests: routes: create state aborts on no device

Signed-off-by: Sergei Ianovich <s@asutp.io>
tests: routes: create state aborts on bad device

Signed-off-by: Sergei Ianovich <s@asutp.io>
tests: routes: create state accepts device

Signed-off-by: Sergei Ianovich <s@asutp.io>
tests: routes: create state accets newline

Signed-off-by: Sergei Ianovich <s@asutp.io>
tests: routes: create state aborts on bad JSON

Signed-off-by: Sergei Ianovich <s@asutp.io>
tests: routes: create state

Signed-off-by: Sergei Ianovich <s@asutp.io>
tests: routes: create state reports setpoints

Signed-off-by: Sergei Ianovich <s@asutp.io>