Used mock data and stubs to test