selecting prerelease versions easier, fixed bug
Changed variable name for clarity
Improved tests