:white_check_mark: add tests

also improve trend parsing