Add testcase
Indent
Refactor code