Adds bokchoy tests for outline and fixes staff outline bug

@cahrens @andy-armstrong please review.
Now verifying the number of components on the page.