Test context registration passing attributes