added junit reporter and fail test