fixed loop bounds in test
do not include library gtest in linush shared library
Merge branch 'master' into dev-no-dpi