Adding compartment tests

unhandled err