Reformatted code and added comments to the unit test. Also refined the NewTabActionSpec unit test to be clearer. WTD 16.