Replace Build.VERSION.SDK with Build.VERSION.SDK_INT

changed sdkVersion from String to int and updated the test file.

-avoids parsing to int
-removes deprecated warning in newer Android SDK Versions