Fixed critical bug with 'shared' method injection
Added test app