Added check to betas into Tests and utility functions

Signed-off-by: Oleg Komarov <o.komarov11@imperial.ac.uk>