Bugfix for issue #220: exception on Android 4.3
tested on Android 4.3, 4.0.3 and 2.3.3
Fix unit test and add test for resolving issue #220
Forgot to add file for second test
Merge pull request #225 from Mik-/develop

Bugfix for issue #220: exception on Android 4.3