added more test and spec
removed some @codeCoverageIgnore