added dependency mock for unit testing