Added tests for dec