add smarter tests