added tests for File.file? with native.enabled=false

complements the fix for #2032 with a test case for testing File.exists?,
File.directory? and File.file? executing jruby without native enabled.

Sponsord by Lookout Inc.