Added custom attribute tests