Added test cases for two new functions: :add and :[].
Passes a block instead of a paranthesis to expect in order to catch exceptions correctly.