added as method to test attributes alias; updated spec