test lib routes