Provide BM_DRAW_MODE_LAST for enumerating draw modes.
Add tests.
INCLUDE(CTest) must be in root CMakeLists for 'make test' to work
Add useful message for developer.
Merge branch 'dev/tests' into develop