AUI-1554 Create unit test for defaultValue

https://issues.liferay.com/browse/AUI-1554