Added pass() and fail() functions to allowed tests.