Correct flag check
Add version number to test