configure: Convert ENABLE_UNIT_TESTS to a mere AM conditional

Signed-off-by: Thomas Graf <tgraf@suug.ch>
tests: Add basic attribute unit tests

Signed-off-by: Thomas Graf <tgraf@suug.ch>