added tests to active? method