adding unit tests for firefox units workaround