intent tests