Added tests for percentages #2012