added test for first principal
used setup() to avoid lots of duplicate initialization