adds tests and handles no results