checking the bound 'this' scope for anonymous components
created first test and implementation for named components