fixed getInsertId for use cases when tables dont have an id column
also fixed dependencies between tests and suppressed some echos in unit tests