test compute