let's give it a KISS
added test for graph element template size
fixed test
added out of source builds for release and debug
fixied build