test traits and defaults