added last test for isActive fixes #51