Fixes regression in right aligning rightAccessoryViews and improves the unit test.