added user tests for valid or invalid attributes