Adds optional_args_filter decorator, adds more test functions