Added test case for different building constraint