Minor refactor of assert method