added test on inherited class.
added singleton and fixed for new parsing rule.
added test suites for DiContainer test.
added a code about singleton.