increase test coverage in specs