added 'common dependencies' and mocking in specs
passing (and pending) tests