Add units test