factored out test examples into separate file