Adding tests for history resource