adding some simple testcases
format corrections