Added tests for cancel.
Added fragment (inside activity) test.
Added more tests.
Added more tests.
Replaced argument checking to unused old methods.