fixed indentation and self requiring in test