Adding tests for occupied and getOpenSpace