Adding proxy and nested stack unit tests