Boolean conversion

Added platform specific conversion form database Boolean type to PHP bool type
Nothing wrong with the test, but just wanted to say you could also have used data provider for this to reduce boilerplate