Unit testing space controller