AUI-1666 Adding tests.