Added simple test for fetchOne
Small fix for fetchOne