Added tests for inverse and multiplication