added tests to make sure method works will all param forms