made depCheck var private static
fixed impl. inconsistency with dynamic params for singleton creation  + doc
improved unit tests