[pacman-dev] [PATCH] add unit tests