invalid? is undefined method
Refactor for testing PDF file content
Fix step and use field label name
Save session to the database
Fix deprecated problem on the step