nodemenu getActive refactoring
fix tests
Merge pull request #140 from Kunstmaan/feature/additions

getActive refactored / fix for tests