added code units test