Fix up logic oddity in _isCurrent()
Updated style of getcurrent testcase
Changed indentation style of inline functions