TST: add .compressed() to the masked array

It reflects the function's behavior.
BUG: use `multiply()` instead of `*` to take matrix into account

Note that it still doesn't work with matrix.