[ALOY-709] fixed unit test for dynamic styling

Ticket: [https://jira.appcelerator.org/browse/ALOY-709](https://jira.appcelerator.org/browse/ALOY-709)