bulk_test was implemented, kernel envocation was wrapped by the while loop