document banner and add unit tests