adding test cases d009 - d013