added tests for throwing move and copy ctors