add tests for beermapping api