addes tests for profile correctnes