Refactor how requestData() works
More tests for component