fixed wrong comparison
added constant for iOS 7 foundation
Added more unit tests
added additional iOS 7 bug workaround
Merge branch 'od/more_tests' into develop