extract GetBooleanValue extension
extracted extension method
added tests