Added test target to check for multiple definition errors.
Merge branch 'next' into api_change

Conflicts:
	CMakeLists.txt