use \A[a-z_]+=?\z to check valid method names
`test_name!`, `test_name?` and `testName` are invalid method names
also need more tests for it