Add test case, Fix inconsistent indentation