adding test helpers and utilities