Added testing for variant