consolidating tests