Test cases added. This commit will be reverted after make work niceDomain correctly.