completed tests for boxStyle