maint - adding tests and check target to makefile