Adding admin controller test and cleaning up formatting