AUI-1554 Create unit test for defaultValue

Ticket: [AUI-1554](https://issues.liferay.com/browse/AUI-1554)